package com.yourname.bank_sim.action;

import com.yourname.bank_sim.DataStore;

import java.text.DateFormatSymbols;
import java.util.Date;
import java.util.Scanner;

public class BuyAction {
    private static  Scanner scanner=new Scanner(System.in);
    public static void menu(){
        System.out.println("请输入起始站和终点站，中间用-分隔：");
        String next = scanner.next();
        String start=next.split("-")[0];
        String end=next.split("-")[1];
        DataStore.findRoute(start,end);
    }
}
